package org.xxpay.core.entity;

import java.io.Serializable;
import java.util.Date;

public class StatisticsPlat implements Serializable {
    /**
     * 统计日期
     *
     * @mbg.generated
     */
    private Date statisticsDate;

    /**
     * 收款订单总数
     *
     * @mbg.generated
     */
    private Integer payTotalCount;

    /**
     * 收款成功订单数
     *
     * @mbg.generated
     */
    private Integer paySuccessCount;

    /**
     * 收款总金额
     *
     * @mbg.generated
     */
    private Long payTotalAmount;

    /**
     * 收款成功金额
     *
     * @mbg.generated
     */
    private Long paySuccessAmount;

    /**
     * 收款利润
     *
     * @mbg.generated
     */
    private Long payTotalProfit;

    /**
     * 代付订单总数
     *
     * @mbg.generated
     */
    private Integer agentPayTotalCount;

    /**
     * 代付成功订单数
     *
     * @mbg.generated
     */
    private Integer agentPaySuccessCount;

    /**
     * 代付总金额
     *
     * @mbg.generated
     */
    private Long agentPayTotalAmount;

    /**
     * 代付成功金额
     *
     * @mbg.generated
     */
    private Long agentPaySuccessAmount;

    /**
     * 代付利润
     *
     * @mbg.generated
     */
    private Long agentPayTotalProfit;

    /**
     * 代付充值订单总数
     *
     * @mbg.generated
     */
    private Integer rechargeTotalCount;

    /**
     * 代付充值成功订单数
     *
     * @mbg.generated
     */
    private Integer rechargeSuccessCount;

    /**
     * 代付充值总金额
     *
     * @mbg.generated
     */
    private Long rechargeTotalAmount;

    /**
     * 代付充值成功金额
     *
     * @mbg.generated
     */
    private Long rechargeSuccessAmount;

    /**
     * 代付充值利润
     *
     * @mbg.generated
     */
    private Long rechargeTotalProfit;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 更新时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Date getStatisticsDate() {
        return statisticsDate;
    }

    public void setStatisticsDate(Date statisticsDate) {
        this.statisticsDate = statisticsDate;
    }

    public Integer getPayTotalCount() {
        return payTotalCount;
    }

    public void setPayTotalCount(Integer payTotalCount) {
        this.payTotalCount = payTotalCount;
    }

    public Integer getPaySuccessCount() {
        return paySuccessCount;
    }

    public void setPaySuccessCount(Integer paySuccessCount) {
        this.paySuccessCount = paySuccessCount;
    }

    public Long getPayTotalAmount() {
        return payTotalAmount;
    }

    public void setPayTotalAmount(Long payTotalAmount) {
        this.payTotalAmount = payTotalAmount;
    }

    public Long getPaySuccessAmount() {
        return paySuccessAmount;
    }

    public void setPaySuccessAmount(Long paySuccessAmount) {
        this.paySuccessAmount = paySuccessAmount;
    }

    public Long getPayTotalProfit() {
        return payTotalProfit;
    }

    public void setPayTotalProfit(Long payTotalProfit) {
        this.payTotalProfit = payTotalProfit;
    }

    public Integer getAgentPayTotalCount() {
        return agentPayTotalCount;
    }

    public void setAgentPayTotalCount(Integer agentPayTotalCount) {
        this.agentPayTotalCount = agentPayTotalCount;
    }

    public Integer getAgentPaySuccessCount() {
        return agentPaySuccessCount;
    }

    public void setAgentPaySuccessCount(Integer agentPaySuccessCount) {
        this.agentPaySuccessCount = agentPaySuccessCount;
    }

    public Long getAgentPayTotalAmount() {
        return agentPayTotalAmount;
    }

    public void setAgentPayTotalAmount(Long agentPayTotalAmount) {
        this.agentPayTotalAmount = agentPayTotalAmount;
    }

    public Long getAgentPaySuccessAmount() {
        return agentPaySuccessAmount;
    }

    public void setAgentPaySuccessAmount(Long agentPaySuccessAmount) {
        this.agentPaySuccessAmount = agentPaySuccessAmount;
    }

    public Long getAgentPayTotalProfit() {
        return agentPayTotalProfit;
    }

    public void setAgentPayTotalProfit(Long agentPayTotalProfit) {
        this.agentPayTotalProfit = agentPayTotalProfit;
    }

    public Integer getRechargeTotalCount() {
        return rechargeTotalCount;
    }

    public void setRechargeTotalCount(Integer rechargeTotalCount) {
        this.rechargeTotalCount = rechargeTotalCount;
    }

    public Integer getRechargeSuccessCount() {
        return rechargeSuccessCount;
    }

    public void setRechargeSuccessCount(Integer rechargeSuccessCount) {
        this.rechargeSuccessCount = rechargeSuccessCount;
    }

    public Long getRechargeTotalAmount() {
        return rechargeTotalAmount;
    }

    public void setRechargeTotalAmount(Long rechargeTotalAmount) {
        this.rechargeTotalAmount = rechargeTotalAmount;
    }

    public Long getRechargeSuccessAmount() {
        return rechargeSuccessAmount;
    }

    public void setRechargeSuccessAmount(Long rechargeSuccessAmount) {
        this.rechargeSuccessAmount = rechargeSuccessAmount;
    }

    public Long getRechargeTotalProfit() {
        return rechargeTotalProfit;
    }

    public void setRechargeTotalProfit(Long rechargeTotalProfit) {
        this.rechargeTotalProfit = rechargeTotalProfit;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", statisticsDate=").append(statisticsDate);
        sb.append(", payTotalCount=").append(payTotalCount);
        sb.append(", paySuccessCount=").append(paySuccessCount);
        sb.append(", payTotalAmount=").append(payTotalAmount);
        sb.append(", paySuccessAmount=").append(paySuccessAmount);
        sb.append(", payTotalProfit=").append(payTotalProfit);
        sb.append(", agentPayTotalCount=").append(agentPayTotalCount);
        sb.append(", agentPaySuccessCount=").append(agentPaySuccessCount);
        sb.append(", agentPayTotalAmount=").append(agentPayTotalAmount);
        sb.append(", agentPaySuccessAmount=").append(agentPaySuccessAmount);
        sb.append(", agentPayTotalProfit=").append(agentPayTotalProfit);
        sb.append(", rechargeTotalCount=").append(rechargeTotalCount);
        sb.append(", rechargeSuccessCount=").append(rechargeSuccessCount);
        sb.append(", rechargeTotalAmount=").append(rechargeTotalAmount);
        sb.append(", rechargeSuccessAmount=").append(rechargeSuccessAmount);
        sb.append(", rechargeTotalProfit=").append(rechargeTotalProfit);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        StatisticsPlat other = (StatisticsPlat) that;
        return (this.getStatisticsDate() == null ? other.getStatisticsDate() == null : this.getStatisticsDate().equals(other.getStatisticsDate()))
                && (this.getPayTotalCount() == null ? other.getPayTotalCount() == null : this.getPayTotalCount().equals(other.getPayTotalCount()))
                && (this.getPaySuccessCount() == null ? other.getPaySuccessCount() == null : this.getPaySuccessCount().equals(other.getPaySuccessCount()))
                && (this.getPayTotalAmount() == null ? other.getPayTotalAmount() == null : this.getPayTotalAmount().equals(other.getPayTotalAmount()))
                && (this.getPaySuccessAmount() == null ? other.getPaySuccessAmount() == null : this.getPaySuccessAmount().equals(other.getPaySuccessAmount()))
                && (this.getPayTotalProfit() == null ? other.getPayTotalProfit() == null : this.getPayTotalProfit().equals(other.getPayTotalProfit()))
                && (this.getAgentPayTotalCount() == null ? other.getAgentPayTotalCount() == null : this.getAgentPayTotalCount().equals(other.getAgentPayTotalCount()))
                && (this.getAgentPaySuccessCount() == null ? other.getAgentPaySuccessCount() == null : this.getAgentPaySuccessCount().equals(other.getAgentPaySuccessCount()))
                && (this.getAgentPayTotalAmount() == null ? other.getAgentPayTotalAmount() == null : this.getAgentPayTotalAmount().equals(other.getAgentPayTotalAmount()))
                && (this.getAgentPaySuccessAmount() == null ? other.getAgentPaySuccessAmount() == null : this.getAgentPaySuccessAmount().equals(other.getAgentPaySuccessAmount()))
                && (this.getAgentPayTotalProfit() == null ? other.getAgentPayTotalProfit() == null : this.getAgentPayTotalProfit().equals(other.getAgentPayTotalProfit()))
                && (this.getRechargeTotalCount() == null ? other.getRechargeTotalCount() == null : this.getRechargeTotalCount().equals(other.getRechargeTotalCount()))
                && (this.getRechargeSuccessCount() == null ? other.getRechargeSuccessCount() == null : this.getRechargeSuccessCount().equals(other.getRechargeSuccessCount()))
                && (this.getRechargeTotalAmount() == null ? other.getRechargeTotalAmount() == null : this.getRechargeTotalAmount().equals(other.getRechargeTotalAmount()))
                && (this.getRechargeSuccessAmount() == null ? other.getRechargeSuccessAmount() == null : this.getRechargeSuccessAmount().equals(other.getRechargeSuccessAmount()))
                && (this.getRechargeTotalProfit() == null ? other.getRechargeTotalProfit() == null : this.getRechargeTotalProfit().equals(other.getRechargeTotalProfit()))
                && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
                && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getStatisticsDate() == null) ? 0 : getStatisticsDate().hashCode());
        result = prime * result + ((getPayTotalCount() == null) ? 0 : getPayTotalCount().hashCode());
        result = prime * result + ((getPaySuccessCount() == null) ? 0 : getPaySuccessCount().hashCode());
        result = prime * result + ((getPayTotalAmount() == null) ? 0 : getPayTotalAmount().hashCode());
        result = prime * result + ((getPaySuccessAmount() == null) ? 0 : getPaySuccessAmount().hashCode());
        result = prime * result + ((getPayTotalProfit() == null) ? 0 : getPayTotalProfit().hashCode());
        result = prime * result + ((getAgentPayTotalCount() == null) ? 0 : getAgentPayTotalCount().hashCode());
        result = prime * result + ((getAgentPaySuccessCount() == null) ? 0 : getAgentPaySuccessCount().hashCode());
        result = prime * result + ((getAgentPayTotalAmount() == null) ? 0 : getAgentPayTotalAmount().hashCode());
        result = prime * result + ((getAgentPaySuccessAmount() == null) ? 0 : getAgentPaySuccessAmount().hashCode());
        result = prime * result + ((getAgentPayTotalProfit() == null) ? 0 : getAgentPayTotalProfit().hashCode());
        result = prime * result + ((getRechargeTotalCount() == null) ? 0 : getRechargeTotalCount().hashCode());
        result = prime * result + ((getRechargeSuccessCount() == null) ? 0 : getRechargeSuccessCount().hashCode());
        result = prime * result + ((getRechargeTotalAmount() == null) ? 0 : getRechargeTotalAmount().hashCode());
        result = prime * result + ((getRechargeSuccessAmount() == null) ? 0 : getRechargeSuccessAmount().hashCode());
        result = prime * result + ((getRechargeTotalProfit() == null) ? 0 : getRechargeTotalProfit().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        return result;
    }
}